﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace WMS.Infrasturcture.Migrations
{
    /// <inheritdoc />
    public partial class log13 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "InventoryLossAmount",
                table: "inventoryInfos",
                type: "longtext",
                nullable: true)
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.AddColumn<string>(
                name: "InventoryQuantity",
                table: "inventoryInfos",
                type: "longtext",
                nullable: true)
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.AddColumn<string>(
                name: "InventoryShortageQuantity",
                table: "inventoryInfos",
                type: "longtext",
                nullable: true)
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.AddColumn<string>(
                name: "SurplusAmount",
                table: "inventoryInfos",
                type: "longtext",
                nullable: true)
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.AddColumn<string>(
                name: "SurplusQuantity",
                table: "inventoryInfos",
                type: "longtext",
                nullable: true)
                .Annotation("MySql:CharSet", "utf8mb4");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "InventoryLossAmount",
                table: "inventoryInfos");

            migrationBuilder.DropColumn(
                name: "InventoryQuantity",
                table: "inventoryInfos");

            migrationBuilder.DropColumn(
                name: "InventoryShortageQuantity",
                table: "inventoryInfos");

            migrationBuilder.DropColumn(
                name: "SurplusAmount",
                table: "inventoryInfos");

            migrationBuilder.DropColumn(
                name: "SurplusQuantity",
                table: "inventoryInfos");
        }
    }
}
